﻿using Zeus.Classes.Documents;
using System.Windows.Media.Imaging;
using Zeus.UserControls;

namespace Zeus.Classes.Views
{
    public class DisplayImageView:View
    {
        public BitmapImage Bimage = new BitmapImage();
        
        public DisplayImageView(ImageDocument ImageDoc)
            : base(ImageDoc)
        {
            this.CDocument = ImageDoc;
            Render();
        }

        //public override void Render()
        //{
        //    Bimage.SetSource(CDocument.DocStream);
        //}

        public override void Initialize()
        {
          
        }

        public override void Show()
        {
            ViewImageWindow V = new ViewImageWindow(this.Bimage);
            V.Show();
        }
    }
}
